﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VietThuongLMS.ViewModels.ThongTinHocVienModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<div class="wrap_headline">
        <div class="headline">
            <h1>
                Thông tin học viên</h1>
        </div>
    </div>
    <div class="wrap_cont_nav">
        <div class="cont_nav">
            <a href="<%=ResolveUrl("~/")%>">Trang chủ</a>&nbsp;/&nbsp;Thông tin học viên
        </div>
    </div>
    <div class="container">
        <section id="middle">
			<div class="middle_inner"">
            <% if (Model != null && Model.taiKhoanModel != null && Model.hocVienModel != null)
               { %>    
                <div style="margin: 20px 0;">
                    <div style="float:left; width:130px;">
                        <img src="<%=ResolveUrl("~/")%>Themes/images/img/Quote_post_format.jpg" alt="" />
                    </div>
                    <div style="float:left; width:750px;">
                        <h3>Thông tin học viên</h3>
                        <div class="widget-body">
                            <dl class="dl-horizontal">
                                <dt>Tên Học Viên:</dt>
                                <dd><%: Model.taiKhoanModel.HoTen%></dd>
                                <dt>Địa Chỉ:</dt>
                                <dd><%: Model.taiKhoanModel.DiaChi%></dd>
                                <dt>Điện Thoại:</dt>
                                <dd><%: Model.taiKhoanModel.DienThoai%></dd>
                                <dt>Ngày Sinh:</dt>
                                <dd><%: Model.taiKhoanModel.NgaySinh%></dd>
                                <dt>Nghề Nghiệp:</dt>
                                <dd><%: Model.taiKhoanModel.NgheNghiep%></dd>
                                <dt>Nơi Công Tác:</dt>
                                <dd><%: Model.taiKhoanModel.NoiCongTac%></dd>
                            </dl>
                        </div>
                        <div style="clear:both; height:30px;"></div>
                        <h3>Thông tin người liên hệ</h3>
                        <div class="widget-body">
                            <dl class="dl-horizontal">
                                <dt>Họ Tên Người Liên Hệ</dt>
                                <dd><%: Model.hocVienModel.HoTenLienHe%></dd>
                                <dt>Mối Quan Hệ:</dt>
                                <dd><%: Model.hocVienModel.MoiQuanHe%></dd>
                                <dt>Địa Chỉ:</dt>
                                <dd><%: Model.hocVienModel.DiaChiNguoiLienHe%></dd>
                                <dt>Điện Thoại:</dt>
                                <dd><%: Model.hocVienModel.DienThoaiNguoiLienHe%></dd>
                                <dt>Email:</dt>
                                <dd><%: Model.hocVienModel.EmailNguoiLienHe%></dd>
                            </dl>
                        </div>
                        <div style="margin: 30px 0 0 180px;">
                            <%= Html.ActionLink("Cập nhật", "EditThongTinHocVien", "Home", new { id = @Model.hocVienModel.ID }, new { @class = "button_medium" })%>&nbsp;&nbsp;&nbsp;&nbsp;
                            <%= Html.ActionLink(Resources.Global.doi_mat_khau, "DoiMatKhau", "Home", new { @class = "button_medium" })%>
                        </div>
                    </div>

                    <div style="clear: both"></div>
                </div>
                <%}
               else
               { %>
               Không tìm thấy thông tin học viên
                  <%} %>
<!-- __________________________________________________ Finish Sidebar -->	
						
			</div>
		</section>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <title><%=Resources.Global.title%> - <%=Resources.Global.thong_tin_hoc_vien%></title>
<style type="text/css">
.dl-horizontal dt {
    float: left;
    width: 160px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-horizontal dd {
    margin-left: 180px;
}
</style>
</asp:Content>
